package org.dinnermate.log;

public abstract class Handler
{
	private Formatter formatter;

	protected Handler()
	{}

	public abstract void publish( LogRecord record );

	public void setFormatter( Formatter newFormatter )
	{
		this.formatter = newFormatter;
	}

	public Formatter getFormatter()
	{
		return formatter;
	}
}
